﻿@{
    ViewBag.Title = "Настройка SMTP";
}
@using Kojarskiy.Core
@model Kojarskiy.Core.SmtpSettings

@{
    ViewBag.Title = "Настройка SMTP";
}

    
    <h1>Настройки Почты</h1>

    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

    @using (Html.BeginForm("EmailSettings", "Admin", FormMethod.Post))
    {
        @Html.ValidationSummary(true)
       
        @Html.Partial("_Message")
        
        @Html.Partial("SmtpSettings", Model)

        <p class="submitArea">
            <input type="submit" value="Сохранить" />
        </p>
    }

    <div class="cmsNavigate">
        @Html.ActionLink("Администрирование", "Index")
    </div>
